<?php
/**
 * Created by PhpStorm.
 * User: baiyunfei
 * Date: 2018/10/30
 * Time: 4:15 PM
 */

return [

    'server' => [
        'log_file' => __DIR__ . '/../logs/' . date('Y-m-d') . '.log',
        'pid_file' => __DIR__ . '/../whisper_websocket_pid.pid',
        'log_level' => 0
    ],

    'port' => 2945,

    'db' => [
        'host'        => '127.0.0.1',
        'user'        => 'root',
        'password'    => 'root',
        'database'    => 'dingdong',
        'port'        => '3306',
        'charset'     => 'utf8',
        'timeout'     => 0.5
    ],

    'version' => '1.0',

    // 是否开启客服只允许单点登录 0 不开启 1 开启,
    // 切换需要重启
    'single_login' => 1
];